package com.sanjiren.main;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.TextView;

public class MainPageNav extends Activity {

	TextView text;
	WebView wv;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		wv = (WebView)findViewById(R.id.webview);
		WebSettings set = wv.getSettings();
		set.setBuiltInZoomControls(true);
		set.setJavaScriptEnabled(true);
		//wv.loadData("<a href='x'>copy me!</a>","text/html", "utf-8");
		wv.loadUrl("file:///android_asset/a.html");
		
		setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);
	}
	
}